Skip to content

Comments

bugfix: Link Balance Calculated Incorrectly#196

Open
bromulous wants to merge 1 commit intoEthTx:masterfrom
bromulous:link-balance-fix
Open

bugfix: Link Balance Calculated Incorrectly#196
bromulous wants to merge 1 commit intoEthTx:masterfrom
bromulous:link-balance-fix

Conversation

@bromulous
Copy link

Link emits a different transfer event than normal erc20s so we miscalculate the balance. This adds in listening for that event.

Random Link event chosen for test case:
0xbaf08c360fc8f6098adbe2c7c3612106432123397dd2d5b84d042c1786261207

Previous result:
Screenshot 2023-08-11 at 6 24 05 PM

After change:
Screenshot 2023-08-11 at 6 27 26 PM

Link emits a different transfer event than normal erc20s so we miscalculate the balance.
This adds in listening for that event.

Random Link event chosen for test case:
0xbaf08c360fc8f6098adbe2c7c3612106432123397dd2d5b84d042c1786261207
@kchojn kchojn added the bug Something isn't working label Aug 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants